package com.xc.h05.mapper;

import com.xc.h05.entity.Charge;
import com.xc.h05.entity.Chargetype;
import com.xc.h05.entity.Consult;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 30658
* @description 针对表【chargetype】的数据库操作Mapper
* @createDate 2025-03-07 19:54:45
* @Entity com.xc.h05.entity.Chargetype
*/
@Mapper
public interface ChargetypeMapper {
    // 添加
    int add(Chargetype chargetype);
    //根据id删除
    int delete(Integer id);
    // 根据id修改
    int update(Chargetype chargetype);
    //根据id批量删除
    int deleteByIds(List<Integer> ids);
    //查询所有
    List<Chargetype> findAll( );
// 根据** 分页查询
    List<Chargetype> findByPage(Chargetype chargetype);
    //根据id查询
    Chargetype findById(Integer id);
}
